package org.jetnuke.modules.jforum;

import javax.servlet.http.HttpServletResponse;

import net.jforum.ActionServletRequest;

import org.apache.velocity.VelocityContext;
import org.jetnuke.common.IAdminInfo;
import org.jetnuke.common.ICustomModule;
import org.jetnuke.common.IUserInfo;

public class PMs extends JForumBaseModule implements ICustomModule {

	public boolean[] service(ActionServletRequest request1, HttpServletResponse response, StringBuffer sb, VelocityContext vc, IUserInfo userInfo, IAdminInfo adminInfo, boolean isIndex, long time_init) throws Exception{

		boolean b[]= super.service(request1, response, sb, vc, userInfo, adminInfo, isIndex,
				time_init);
		if(b[0]==true){
			String action=request1.getParameter("action");
			if("findUser".equals(action)  ){
				b[1]=false;
			}
		}
		return b;
	}

}
